<?php

namespace app\api\service;

use app\model\User as ModelUser;
use think\Service;

class User
{
    public function checkuser($username,$password)
    {
        $res=ModelUser::where(['username'=>$username,'password'=>$password])->find();
        return $res;
    }
}
